Hi Tom,
Thanks for your explanation, I think I have managed to set-up all 3 axis but will do further fine tuning.
As regards resolution, there are 1250ppr encoders on motors X/Y are geared via belt drive 2:1 and ball-screws are 5mm. Z axis is 4:1.
So if I have calculated correctly there should be 500 counts on X/Y and 1000 on Z. As you said earlier higher count encoders would be better but this will have to do for starters.
How do I get my axis up to speed in KMotionCNC so 1mm commanded will move 1mm?
Cheers Bengt
--- In
DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Bengt,
> Â
> I think the final #6 plot looks pretty good.Â
> Â
>
http://tech.groups.yahoo.com/group/DynoMotion/files/Bengt%27s%20CombiMill/xaxis%20vsd%20torq%206.PNG> Â
> The error is only a few encoder counts. And this is during high acceleration. During lower speed cutting the errors would probably be smaller. What is the resolution of your system? How many counts per mm?? Is this error acceptable? There will always be some error in a servo system because error is required before a correction can be made.
> Â
> The P and D gains are relative to your system. My suggestions were just starting guesses.
> Â
> You could probably benefit by adding a low pass filter. This is because we are trying to control velocity using the encoder which has finite resolution
(quantization error) and has "steps". When it changes by one count the system sees it as an instantaneous change. A higher resolution encoder would reduce the effect. A one count encoder change multiplied by a Derivative gain of 1000 causes the big 1000 count DAC spikes in the Output (Green plot). The Amplifier is probably low pass filtering those to some degree, but it may help things to filter them first. On the filter screen set Filter #2 to 2nd order low pass at a frequency of 500 Hz and Q of 1.4. That should reduce the spikes in the output plot and possibly allow you to get a bit more performance. You can experiment with lower and higher frequency filtering. Lower frequency will provide more smoothing in the output but too much filtering will add lag to the response (overshoot) and
> is de-stabilizing (oscillations).
> Â
> There also seems to be significant
friction in your system which limits the performance. Notice when the system begins to move that the output ramps ~100 DAC counts of torque before the system breaks loose and any motion begins at all.Â
> Â
> I hope this helps.
> TKÂ
>
>
> --- On Mon, 8/1/11, Bengt Sjoelund <cnc@...> wrote:
>
>
> From: Bengt Sjoelund <cnc@...>
> Subject: [DynoMotion] Re: X axis with VFD
> To:
DynoMotion@yahoogroups.com> Date: Monday, August 1, 2011, 5:04 AM
>
>
> Â
>
>
>
> Hi Tom,
> Downloaded png's #3 to #6. Looks like I'm getting closer, what can be done to have the red position curve fully aligned with the commanded blue curve? Is this
to be adjusted with acceleration?
> As you can see the settings are far away from your suggestion, what can cause this kind of difference? In VSD I get what I believe to acceptable torque setting as you can see in the PDF file I downloaded.
>
> What next?
> Cheers Bengt
>
> --- In
DynoMotion@yahoogroups.com, TK <tk@> wrote:
> >
> > Not that good. Like I said before D gain (maybe somewhere between 2 - 50) is usually required when operating in torque mode. Increase D until the system goes unstable then decrease by 2 or 3x then try increasing P to get better performance.
> >
> >
> > TK
> >
> > On Jul 31, 2011, at 1:32 PM, "Bengt Sjoelund" <cnc@> wrote:
> >
> > >
Hi,
> > > Just uploaded 2 png files into Bengts CombiMill folder.
> > > Is this OK or is something wrong? What next with this axis? Would like to get one axis at to work fully first so I can get a grip of what all necessary steps are.
> > > Cheers Bengt
> > >
> > >
> >
>